package com.niiwoo.civet.mobile.vo.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * Created by zhangwanli on 2017/9/23.
 *
 */
@Setter
@Getter
@ApiModel
public class ThirdLoginRequestVO implements Serializable {

    private static final long serialVersionUID = -7295922565632977049L;

    @ApiModelProperty(value = "登录手机号", notes = "排除了170号段")
    private String loginMobileNo;

    @NotBlank(message = "openId不能为空")
    @ApiModelProperty(value = "第三方平台用户唯一标识：openId")
    private String openId;

    @NotNull(message = "platformId不能为空")
    @ApiModelProperty(value = "第三方平台标识：1-QQ,2-WeChat,3-Weibo")
    private Byte platformId;

    @ApiModelProperty(value = "设备类型(0-安卓, 1-IOS, 2-网页)", notes = "0-安卓, 1-IOS, 2-网页", required = true)
    private Integer deviceType;

    @ApiModelProperty(value = "头像")
    private String headImage;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "省级名称")
    private String provinceName;

    @ApiModelProperty(value = "市级名称")
    private String cityName;

    @ApiModelProperty(value = "区级名称")
    private String areaName;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "维度")
    private String latitude;

    @ApiModelProperty(value = "客户端IP")
    private String clientAccessIP;

    @ApiModelProperty(value = "地图类型 (0-高德 1-百度)")
    private Integer mapType;

    @ApiModelProperty(value = "Mac地址")
    private String macAddress;//

    @ApiModelProperty(value = "WifiSSID unknown这种数据不要传过来")
    private String wifiSSID;//

    @ApiModelProperty(value = "下载渠道(渠道号)")
    private String downChannel; //

    @ApiModelProperty(value = "APP版本")
    private String appVersion;//

    @ApiModelProperty(value = "设备唯一id(安卓用IMEI，IOS用IDFA) 设备号为000这种异常的数据，不要传过来")
    private String deviceId; //

    @ApiModelProperty(value = "当前设备sim卡手机号")
    private String simMobilePhone; //

    @ApiModelProperty(value = "设备操作系统类型 Android or IOS")
    private String os; //

    @ApiModelProperty(value = "操作系统版本")
    private String osVersion; //

    @ApiModelProperty(value = "屏幕分辨率")
    private String resolution; //

    @ApiModelProperty(value = "设备品牌")
    private String brand; //

    @ApiModelProperty(value = "设备型号")
    private String phoneModel; //

    @ApiModelProperty(value = "设备状态(是否越狱 or root) 0-否  1-是")
    private Integer equipmentStatus; //

    @ApiModelProperty(value = "是否双卡双待 0-否  1-是")
    private Integer dualSim; //

    @ApiModelProperty(value = "极光推送ID", notes = "极光推送ID")
    private String jiGuangPushId;

    @NotBlank(message = "设备指纹信息不能为空")
    @ApiModelProperty(value = "设备指纹信息", notes = "设备指纹信息", required = true)
    private String blackBox;
}
